<?php

/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class Editor extends Page {
 
    public function __construct() {
        $this->title = "Novo Dred";
        
        //Default action
        $this->action = "show";
    }
    
    protected function showExtraJavascript() {
        echo '<script src="js/dreds.js"></script>';
    } 

    protected function GETShow() {
        ?>
        <div id="cenario" class="span12">
            <h1 id='valortitulo'>Defina um título</h1>
            <ul id='lista-cenas'>
                <li id='novacena' title="Adicionar nova cena">
                    <img src='img/personagem.png' class="pers"> Adicionar nova cena
                </li>
            </ul>
        </div>
        <?php
    }
}

